import Router from '@koa/router';

import ArticleController from '@/controllers/article.controller'
const articleRouter = new Router({ prefix: '/article' });
articleRouter.post('/selectList', ArticleController.selectList);
articleRouter.post('/selectOne', ArticleController.selectOne);
articleRouter.post('/add', ArticleController.add);
articleRouter.post('/update', ArticleController.update);
articleRouter.post('/delete', ArticleController.delete);




export default articleRouter;